import {fabric} from "@/js/fabric"
let maplist ={}
function createmap(obj){
    maplist[obj.name]=obj
}
 function maploader(list){
     list.forEach(( element,index)=>{
        createmap(element.default||element) 
    });
    return maplist
}   
export {maploader,maplist,createmap}
